package com.ouheng.shop.dao;

import com.ouheng.shop.domain.GzMemberDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-07-08 10:59:23
 */
@Mapper
public interface GzMemberDao {

	GzMemberDO get(Long id);
	
	List<GzMemberDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(GzMemberDO gzMember);
	
	int update(GzMemberDO gzMember);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
	
	GzMemberDO getByUnionid(String unionid);
	
	List<String> listWopenid();
	
	List<String> listWopenidByIsVip(String isvip);
	
}
